package org.openspml.providers.one_c.api.connection;

import com.jacob.activeX.ActiveXComponent;
import com.jacob.com.*;

public class COMConnector extends ActiveXComponent {
	public COMConnector(String componentName) {
		super(componentName);
	}

	public COMConnector(Dispatch d) {
		super(d);
	}
	
	public GlobalContext connect(String path) {
		return new GlobalContext(Dispatch.call(this, "connect", path).toDispatch());
	}
}
